package com.irdstudio.efp.console.service.facade;

import java.util.List;

import com.irdstudio.efp.console.service.vo.PrdCaseManageVO;
import com.irdstudio.efp.flow.common.service.Approve;

/**
 * <p>Description:产品专案管理表				<p>
 * @author fuzm
 * @date 2018-05-07
 */
public interface PrdCaseManageService extends Approve{
	
	public List<PrdCaseManageVO> queryAllOwner(PrdCaseManageVO prdCaseManageVo);
	
	public List<PrdCaseManageVO> queryAllCurrOrg(PrdCaseManageVO prdCaseManageVo);
	
	public List<PrdCaseManageVO> queryAllCurrDownOrg(PrdCaseManageVO prdCaseManageVo);
	
	public int insertPrdCaseManage(PrdCaseManageVO inPrdCaseManageVo);
	
	public int deleteByPk(PrdCaseManageVO prdCaseManageVo);
	
	public int updateByPk(PrdCaseManageVO prdCaseManageVo);
	
	public PrdCaseManageVO queryByPk(PrdCaseManageVO prdCaseManageVo);

	public int updateCaseStatusByPrdId(PrdCaseManageVO prdCaseManageVo);
	
	public List<PrdCaseManageVO> queryPrdCaseManageByPrdCodeTime(PrdCaseManageVO prdCaseManageVo);
	
	public List<PrdCaseManageVO> queryPrdCaseManageByPrdCode(PrdCaseManageVO prdCaseManageVo);
	/**
	 * 批量生效专案
	 * @param openday
	 * @return
	 */
	public int effictivePrdCaseManages(String openday);
	/**
	 * 批量失效到期专案
	 * @param openday
	 * @return
	 */
	public int expiryPrdCaseManages(String openday);
}
